package com.multicert;

import java.rmi.RemoteException;

import org.apache.axis2.AxisFault;

import com.multicert.ServicoAStub.GetCountryInfo;
import com.multicert.ServicoAStub.GetCountryInfoResponse;
import com.multicert.ServicoAStub.Test;
import com.multicert.ServicoAStub.TestResponse;

public class ServicoAClient {

	public static void main(String[] args) throws Exception {
		   
        try {
            
        	ServicoAStub stub = new ServicoAStub();
            
        	GetCountryInfo t = new GetCountryInfo();
            
            
            t.setCountryCode("US");
            
            
            GetCountryInfoResponse res = stub.getCountryInfo(t);
            
            
            System.out.println(res.get_return());
            
        } 
        catch (AxisFault e) {
    
            e.printStackTrace();
        } 
        catch (RemoteException e) {
            e.printStackTrace();
        }
	}
}
